//package org.HardStone.StudyMybatis.Controller;
//
//import org.HardStone.StudyMybatis.Domain.User;
//
//
//import org.HardStone.StudyMybatis.service.UserService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//public class UserController {
//    @Autowired
//    private UserService userService;
//
//    @RequestMapping("/findById")
//    public User findById(Integer id) {
//        return userService.findById(id);
//        //return new User(12,"name", (short) 1, (short) 2,"123456");
//    }
//}
